<template>
  <div class="top">
    <div class="top-header">
      <div class="mini-header">
        <ul class="top-header-left">
          <li><a href="www.baidu.com" target="_blank" class="default-entry"><span>首页</span></a></li>
          <li><a href="www.baidu.com" target="_blank" class="default-entry"><span>1赛事</span></a></li>
          <li><a href="www.baidu.com" target="_blank" class="default-entry"><span>2赛事</span></a></li>
          <li><a href="www.baidu.com" target="_blank" class="default-entry"><span>3赛事</span></a></li>
          <li><a href="www.baidu.com" target="_blank" class="default-entry"><span>4赛事</span></a></li>
          <li><a href="www.baidu.com" target="_blank" class="default-entry"><span>5赛事</span></a></li>
        </ul>
        <div class="top-header-middle">
          <div class="top-search">
            <form class="top-search-form" style="border-radius: 8px 8px 8px 8px;">
              <div class="top-search-content">
                <input class="top-search-input" type="text" autocomplete="off" accesskey="s" maxlength="100" x-webkit-speech="" placeholder="《如何正确激怒一个人》" title="《如何正确激怒一个人》">
              </div>
              <div class="top-search-btn"><i class="el-icon-search" style="height: 17px;width: 17px"></i></div>
            </form>
          </div>
        </div>
        <ul class="top-header-right">
          <li><a href="www.baidu.com" target="_blank"><span>首页</span></a></li>
          <li><a href="www.baidu.com" target="_blank"><span>1赛事</span></a></li>
          <li><a href="www.baidu.com" target="_blank"><span>2赛事</span></a></li>
          <li><a href="www.baidu.com" target="_blank"><span>3赛事</span></a></li>
          <li><a href="www.baidu.com" target="_blank"><span>4赛事</span></a></li>
          <li><a href="www.baidu.com" target="_blank"><span>5赛事</span></a></li>
        </ul>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "news_top"
}
</script>

<style scoped>


.top {
  z-index: 1002;
  height: 64px !important;
}
.top a{
  text-decoration: none;
  background-color: transparent;
  color: inherit;
}
.top span{
  color: inherit;
}
.top-header {
  color: #18191c;
  background-color: transparent;
  font-size: 14px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  min-width: 1100px;
  min-height: 64px;
  position: relative;
  margin: 0 auto;
  max-width: 2560px;
  width: 100%;
}
.mini-header{
  height: 64px;
  position: fixed;
  top: 0;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 2560px;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 2px 4px #00000014;
  color: #18191c;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}




/*  顶部  左*/
.top-header-left {
  margin-right: 5px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  list-style-type: none;
}
.top-header-left li{
  position: relative;
}
.default-entry {
  color: #18191c;
  display: inline-block;
  height: 64px;
  line-height: 64px;
  font-size: 14px;
  cursor: pointer;
}



/*  顶部  中*/
.top-header-middle {
  margin: 0 10px;
  flex: 1 auto;
  height: 38px;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}
.top-search {
  position: relative;
  margin: 0 auto;
  min-width: 181px;
  max-width: 500px;
}
.top-search-form {
  display: flex;
  align-items: center;
  padding: 0 48px 0 4px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  line-height: 38px;
  border: 1px solid #e3e5e7;
  height: 40px;
  background-color: #f1f2f3;
  opacity: .9;
  transition: background-color .3s;
}
.top-search-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 0 8px;
  width: 100%;
  height: 32px;
  border: 2px solid transparent;
  border-radius: 6px;
}
.top-search-input {
  flex: 1;
  overflow: hidden;
  padding-right: 8px;
  border: none;
  background-color: transparent;
  box-shadow: none;
  color: #61666d;
  font-size: 14px;
  line-height: 20px;
}
.top-search-btn {
  position: absolute;
  top: 3px;
  right: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  color: #18191c;
  line-height: 32px;
  cursor: pointer;
  transition: background-color .3s;
}
/*  顶部  右*/
.top-header-right {
  display: flex;
  align-items: center;
  margin-left: 50px;
  list-style-type: none;
}
.top-header-right li {
  position: relative;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  list-style: none outside none;
}
.top-header-right a {
  display: flex;
  align-items: center;
  flex-direction: column;
  flex-shrink: 0;
  margin-right: 0;
  min-width: 50px;
  text-align: center;
  font-size: 13px;
}
.top-header-right span{
  color:#61666d;
  word-break: keep-all;
}









@media (min-width: 1701px) and (max-width: 2199.9px) {
  .default-entry{
    margin-right: 20px;
  }
  .top-header-right{
    margin-left: 20px;
  }
}

@media (min-width: 1367px) and (max-width: 1700.9px){
  .top-header-right{
    margin-left: 10px;
  }
}

@media (min-width: 1100px) and (max-width: 1366.9px){
  .top-header-left{
    margin-right: 10px;
  }
  .default-entry{
    margin-right: 10px;
  }
  .top-header-right{
    margin-left: 10px;
  }
  .top-header-right a {
    margin: 0 5px;
    min-width: 25px;
  }
  /*.top-header-right span {*/
  /*  !* 隐藏图标 *!*/
  /*  display: none;*/
  /*}*/
}


@media (max-width: 1099.9px){
  .top-header-left{
    margin-right: 10px;
  }
  .default-entry{
    margin-right: 10px;
  }
  .top-header-right{
    margin-left: 10px;
  }
  .top-header-right a {
    margin: 0 5px;
    min-width: 25px;
  }
  /*.top-header-right span {*/
  /*  !* 隐藏图标 *!*/
  /*  display: none;*/
  /*}*/
}


</style>